package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 用户表 xy_user
 * 
 * @author numberone
 * @date 2020-10-10
 */
public class XyUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户表 */
	private Long id;
	/** qq的id */
	private Long qqid;
	/** 微信id */
	private Long openid;
	/** 头像 */
	private String headImg;
	/** 是否为会员/1是/0不是 */
	private Integer isVip;
	/** 用户名 */
	private String name;
	/** 欣亿积分 */
	private Integer xinyiIntegral;
	/** 我的积分 */
	private Integer myIntegral;
	/** 密码 */
	private String password;
	/** 手机号 */
	private String phone;
	/** 余额 */
	private BigDecimal overage;
	/** 用户状态 */
	private Integer status;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setQqid(Long qqid) 
	{
		this.qqid = qqid;
	}

	public Long getQqid() 
	{
		return qqid;
	}
	public void setOpenid(Long openid) 
	{
		this.openid = openid;
	}

	public Long getOpenid() 
	{
		return openid;
	}
	public void setHeadImg(String headImg) 
	{
		this.headImg = headImg;
	}

	public String getHeadImg() 
	{
		return headImg;
	}
	public void setIsVip(Integer isVip) 
	{
		this.isVip = isVip;
	}

	public Integer getIsVip() 
	{
		return isVip;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setXinyiIntegral(Integer xinyiIntegral) 
	{
		this.xinyiIntegral = xinyiIntegral;
	}

	public Integer getXinyiIntegral() 
	{
		return xinyiIntegral;
	}
	public void setMyIntegral(Integer myIntegral) 
	{
		this.myIntegral = myIntegral;
	}

	public Integer getMyIntegral() 
	{
		return myIntegral;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setOverage(BigDecimal overage) 
	{
		this.overage = overage;
	}

	public BigDecimal getOverage() 
	{
		return overage;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qqid", getQqid())
            .append("openid", getOpenid())
            .append("headImg", getHeadImg())
            .append("isVip", getIsVip())
            .append("name", getName())
            .append("xinyiIntegral", getXinyiIntegral())
            .append("myIntegral", getMyIntegral())
            .append("password", getPassword())
            .append("phone", getPhone())
            .append("overage", getOverage())
            .append("status", getStatus())
            .toString();
    }
}
